<template>
  <div id="app">
    <router-view />
  </div>
</template>
<script>
export default {
  // mounted() {
  //   // 切换页面时滚动条自动滚动到顶部
  //   window.scrollTo(0, 0);
  // }
};
</script>
<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  color: #333;
  padding: 0;
  margin: 0;
}
</style>
